package com.atguigu.day14.test07;

import java.util.Scanner;

/**
 * @author fenge
 */
public class Test07 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String s1= s.next();
        char[] ch = s1.toCharArray();
        boolean istrue = true;
        for (int i = 0; i < ch.length; i++) {
            if (ch[i] != ch[ch.length-1-i]){
                istrue = false;
                break;
            }
        }
        System.out.println("回文数:"+istrue);
    }
}
